#ifndef _QUMI_DEWPOINT_TABLE_H
#define _QUMI_DEWPOINT_TABLE_H

#include "humidity.h"

#define NO_TEMP_MIN   (0)
#define NO_TMEP_MAX   (6)
#define NO_HUMI_MIN   (60)
#define NO_HUMI_MAX   (80)

struct dewpoint_threshold_s g_dewpoint_thres_table[] = 
{
  //temp [0,6]  -> [60%, 80%]
  {7,61,82},
  {8,57,82},
  {9,54,82},
  {10,50,82},
  {11,47,82},
  {12,44,82},
  {13,42,82},
  {14,39,83},
  {15,37,83},
  {16,34,83},
  {17,32,83},
  {18,30,83},
  {19,29,83},
  {20,27,83},
  {21,25,83},
  {22,24,83},
  {23,22,84},
  {24,21,84},
  {25,20,84},
  {26,19,84},
  {27,18,84},
  {28,17,84},
  {29,16,84},
  {30,15,84},
  {31,14,84},
  {32,13,84},
  {33,13,85},
  {34,12,85},
  {35,11,85},
  {36,11,85},
  {37,10,85},
  {38,10,85},
  {39,9,85},
  {40,9,85},
  {41,8,85},
  {42,8,85},
  {43,8,85},
  {44,7,86},
  {45,7,86},
  {46,7,86},
  {47,6,86},
  {48,6,86},
  {49,6,86},
  {50,5,86},
};

#define THRES_TABLE_LEN  (44)

#endif
